home *** CD-ROM | disk | FTP | other *** search
- global gPuppetList, gCostumeSpriteList
-
- on mouseDown
- PlaySound("RadioButtonClick")
- set firstSprite to the setOneCast of gPuppetList
- set secondSprite to the setTwoCast of gPuppetList
- set chosenCast to SelectRadioButton(the clickOn, "Switch Cast Mortice On", "Switch Cast Mortice Off", [firstSprite, secondSprite])
- if string(chosenCast) contains "one" then
- SetCastLib(1)
- else
- SetCastLib(2)
- end if
- SelectMask(the mask of gCostumeSpriteList)
- SelectCostume(the costume of gCostumeSpriteList)
- end
-